package com.heima.pojo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.heima.pojo.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.ref.PhantomReference;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserPageVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Integer roleId;
    private String userName;
    private String loginName;
    private String password;
    private String region_id;
    private String regionName;
    private String secret;
    private String roleCode;
    private String mobile;
    private Integer status;
    private String image;
    //role对象
    private Role role;


}
